<head>
	<title>NAPV-CE Grading System.</title>
	<?php echo $meta, "\n"?>
	<link rel="stylesheet" href="<?php WEBROOT()?>/resources/screen.css" type="text/css" media="projection, screen" />
	<link rel="stylesheet" href="<?php WEBROOT()?>/resources/score.css" type="text/css" media="projection, screen" />
	<link rel="stylesheet" href="<?php WEBROOT()?>/resources/print.css" type="text/css" media="print" />
	<?php if(IE):?><link rel="stylesheet" href="<?php WEBROOT()?>/resources/ie.css" type="text/css" media="screen, projection"/><?php endif?>
	<meta http-equiv="X-UA-Compatible" content="chrome=1" />
</head>
<body>
	<div class="container" id="main">
  		<div class="span-20 last" id="header">
  			<img id="logo" src="<?php WEBROOT()?>/resources/header-960_wc.jpg" />
  			<div id="navigation">
  				<?php if (Auth::getAuth()->loggedIn()):?>
					<ul>
						<li><a href="<?php WEBROOT()?>">Home</a></li>
						<li><a href="<?php WEBROOT()?>/submissions/result">Grading Result</a></li>
						<li><a href="<?php WEBROOT()?>/tasks">Tasks</a></li>
						<li><a href="<?php WEBROOT()?>/submissions/submit">Submit Solution</a></li>
						<?php if (Auth::getAuth()->level > 5):?>
						<li><a href="<?php WEBROOT()?>/grader">Grader</a></li>
						<?php endif;?>
					</ul>
				<?php endif;?>
			</div>
  		</div>
  		<div class="clear span-15" id="content">
  			<div id="content-inner">
  				<?php echo $content?>
  			</div>
  		</div>
  		<div class="span-5 last" id="sidebar">
  			<?php echo $sidebar?>
  		</div>
  		<div class="clear span-20 last" id="pre-footer">
  			&nbsp;
  		</div>
  		<!-- div class="clear span-20 last hidden" id="footer">
  			Copyright &copy; Taksapaun Kittiakrastien and all SCORE team; all right reserved. Powered by Napv Contest Environment.
  		</div -->
  		<div class="clear span-20 last" id="footer">
  			Copyright &copy; NAPV-CE; all right reserved.
  		</div>
	</div>
</body>
